//
//  UIImageView+WebImage.m
//  SulitLoan
//
//  Created by 虞嘉伟 on 2025/2/26.
//

#import "UIImageView+WebImage.h"

@implementation UIImageView (WebImage)

- (void)sl_setImageWithURL:(NSString *)url {
    if (url.length == 0) {
        return;
    }
    [self sd_setImageWithURL:[NSURL URLWithString:url]];
}

- (void)sl_setImageWithURL:(NSString *)url options:(SDWebImageOptions)options {
    if (url.length == 0) {
        return;
    }
    [self sd_setImageWithURL:[NSURL URLWithString:url] placeholderImage:nil options:options];
}
@end
